﻿using System;
using System.Diagnostics;
using System.Windows.Forms;
using OutlookContactsSync.Domain.Presenters;
using OutlookContactsSync.Presenters;

namespace OutlookContactsSync
{
    internal static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        private static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Trace.WriteLine("App started", "info");
            
            IOutlookSyncMainPresenter outlookSyncMainPresenter = new OutlookSyncMainPresenter(new MainForm());
            outlookSyncMainPresenter.InitView();
            
        }
    }
}